package com.woniuxy.tmsdriverassignment.mapper;

import com.woniuxy.tmsdriverassignment.domain.Contract;

import java.util.List;

/**
 * <P> @Author: ideaAdmin
 * <P> TODO: Interface
 * <P> TODO:
 * <P> Date: 2022/4/20:19:29
 * <P> Description:
 */

public interface ContractMapper {
    public void addContract(Contract contract);

    public void updateContract(Contract contract);

    public void deleteContract(int id);

    List<Contract> allContract();

    Contract getContractById(int id);

    List<Contract> getOne(Contract contract);
}
